Error-correcting code memory